<?php
require_once ('../../public/config/config.php');
require_once ('../class/Book.class.php');

$book = Book::GetByBookCode($_POST['bookcode']);
if($book == false){
	echo false;
}else{
	$bookInfo = json_encode($book);
	echo $bookInfo;
}
?>